import request from '@/utils/request'

// 查询园林专项养护填报列表
export function listMaintainSpecialFill(query) {
  return request({
    url: '/comp/maintainSpecialFill/list',
    method: 'get',
    params: query
  })
}

// 查询园林专项养护填报详细
export function getMaintainSpecialFill(id) {
  return request({
    url: '/comp/maintainSpecialFill/' + id,
    method: 'get'
  })
}

// 新增园林专项养护填报
export function addMaintainSpecialFill(data) {
  return request({
    url: '/comp/maintainSpecialFill',
    method: 'post',
    data: data
  })
}

// 修改园林专项养护填报
export function updateMaintainSpecialFill(data) {
  return request({
    url: '/comp/maintainSpecialFill',
    method: 'put',
    data: data
  })
}

// 删除园林专项养护填报
export function delMaintainSpecialFill(id) {
  return request({
    url: '/comp/maintainSpecialFill/' + id,
    method: 'delete'
  })
}
